﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 层级看板 - 问题跟踪录入
    /// </summary>
    public class t_bi_wip_issue_record : EntityBase
    {
        /// <summary>
        /// 提出日期
        /// </summary>
        public DateTime issue_time { get; set; }

        /// <summary>
        /// 线体
        /// </summary>
        [EntityFieldLength(50)]
        public string line_code { get; set; }

        [EntityFieldLength(100)]
        public string line_name { get; set; }

        public string line_name_en { get; set; }

        public string line_name_th { get; set; }

        /// <summary>
        /// 课别
        /// </summary>
        [EntityFieldLength(50)]
        public string shop_depart_code { get; set; }

        [EntityFieldLength(100)]
        public string shop_depart_name { get; set; }

        public string shop_depart_name_en { get; set; }

        public string shop_depart_name_th { get; set; }

        /// <summary>
        /// 问题描述
        /// </summary>

        [EntityFieldLength(500)]
        public string description { get; set; }

        public string description_en { get; set; }

        public string description_th { get; set; }

        /// <summary>
        /// 对应措施
        /// </summary>
        [EntityFieldLength(500)]
        public string solution { get; set; }

        public string solution_en { get; set; }

        public string solution_th { get; set; }

        /// <summary>
        /// 0:未关闭 1:已升级 99:关闭
        /// </summary>
        public int status { get; set; }

        [EntityFieldLength(50)]
        public string status_name { get; set; }

        public string status_name_en { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? complete_time { get; set; }

        [EntityFieldLength(50)]
        public string create_user_code { get; set; }

        [EntityFieldLength(50)]
        public string create_user_name { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [EntityFieldLength(50)]
        public string charge_user_code { get; set; }

        [EntityFieldLength(50)]
        public string charge_user_name { get; set; }

        [EntityFieldLength(50)]
        public string close_user_code { get; set; }

        /// <summary>
        /// 关闭人
        /// </summary>
        [EntityFieldLength(50)]
        public string close_user_name { get; set; }

        /// <summary>
        /// 关闭时间
        /// </summary>
        public DateTime? close_time { get; set; }
    }
}
